Skip to content

fix: 이슈 브랜치 생성을 라벨 기반으로 변경#224

Merged
clxxrlove merged 1 commit intodevelopfrom
fix/#223
Mar 26, 2026
Merged

fix: 이슈 브랜치 생성을 라벨 기반으로 변경#224
clxxrlove merged 1 commit intodevelopfrom
fix/#223

Conversation

@clxxrlove
Copy link
Copy Markdown
Member

🔗 관련 이슈

📙 작업 내역

🎨 스크린샷 또는 시연 영상 (선택)

기능 미리보기 기능 미리보기
기능 설명 기능 설명

✅ PR 체크리스트

  • 커밋 메시지가 명확합니다
  • PR 제목이 컨벤션에 맞습니다
  • 관련 이슈 번호를 작성했습니다
  • 기능이 정상적으로 작동합니다
  • 불필요한 코드를 제거했습니다

💬 추가 설명 or 리뷰 포인트 (선택)

  • ..

@clxxrlove
Copy link
Copy Markdown
Member Author

@coderabbitai summary

@github-actions github-actions bot requested a review from jihun32 March 26, 2026 10:58
@clxxrlove clxxrlove merged commit 388897e into develop Mar 26, 2026
4 of 5 checks passed
@clxxrlove clxxrlove deleted the fix/#223 branch March 26, 2026 10:58
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 26, 2026

✅ Actions performed

Summary regeneration triggered.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 26, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: d792fa8a-2df8-4e6c-a0b7-1fcfb96de602

📥 Commits

Reviewing files that changed from the base of the PR and between 346de85 and a3d2254.

📒 Files selected for processing (1)
  • .github/workflows/issue-automation.yml

📝 Walkthrough

개요

이슈 자동화 워크플로우(.github/workflows/issue-automation.yml)를 라벨 기반 브랜치 생성으로 개선했습니다. 이 변경은 iOS 애플리케이션 코드(SwiftUI/TCA)가 아닌 CI/CD 개발 프로세스 자동화입니다.

주요 변경 사항

워크플로우 트리거 조건

  • issues 이벤트 타입을 labeled로 변경
  • 이슈 생성 시 대신 라벨 추가 시점에 브랜치 생성 실행

라벨 기반 타입 파싱

  • 이제 이슈 제목에서 정규식으로 타입을 추출하지 않고, 추가된 라벨에서 직접 타입 결정
  • 허용 라벨 화이트리스트: feat, fix, refactor, docs, chore, test, style
  • 화이트리스트 외 라벨은 로그 기록 후 스크립트 조기 종료

담당자 자동 할당 제거

  • github.rest.issues.addAssignees() 호출 제거
  • 이슈 생성 시 자동 담당자 할당 기능 폐지

Linear Issue ID 파싱 개선

  • 정규식을 /\[(TWI-\d+)\]?/로 변경하여 대괄호 포함 여부 선택적 처리
  • [TWI-123] 또는 TWI-123 형식 모두 지원

브랜치 생성 메커니즘

  • GraphQL createLinkedBranch mutation 시도 → 실패 시 REST API createRef fallback
  • 이미 존재하는 브랜치 감지 시 스킵 처리

개발 워크플로우 개선

명확한 라벨 기반 규칙으로 브랜치 네이밍 일관성을 강화하고, 제목 패턴에 의존하지 않아 유연성을 향상시킵니다. 자동 담당자 할당 제거로 수동 워크플로우와의 충돌을 방지합니다.

관련 이슈: #223

Walkthrough

GitHub 이슈 자동화 워크플로우의 트리거 조건이 이슈 생성에서 라벨 추가로 변경되었습니다. 라벨 기반 타입 도출, 작성자 할당 로직 제거, Linear ID 파싱 개선이 이루어졌습니다.

Changes

Cohort / File(s) Summary
GitHub Actions 워크플로우 변경
.github/workflows/issue-automation.yml
트리거 조건을 labeled 이벤트로 변경하고, 작성자 자동 할당 로직을 제거했습니다. 이슈 제목 기반 타입 파싱을 라벨 기반 도출로 대체하고, 라벨 검증(whitelist: feat, fix, refactor, docs, chore, test, style)을 추가했습니다. Linear ID 추출 정규식을 괄호 선택 사항으로 개선했습니다.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/#223

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant